package com.sinosoft.msf.base.supplier.pojo.entity;

import org.apache.ibatis.type.JdbcType;
import tk.mybatis.mapper.annotation.ColumnType;

import javax.persistence.*;
import java.util.Date;

@Table(name = "s_evaluate_record")
public class SEvaluateRecord {
    /**
     * 主键 id
     */
    @Id
    private String id;

    /**
     * 评价类型编码
     */
    @Column(name = "eva_cat_code")
    private String evaCatCode;

    /**
     * 公司 ID
     */
    @Column(name = "company_id")
    private String companyId;

    /**
     * 项目 ID
     */
    @Column(name = "project_id")
    private String projectId;

    /**
     * 评分等级
     */
    private String level;

    /**
     * 得分
     */
    private String score;

    /**
     * 不满意原因
     */
    private String reason;

    /**
     * 评价人
     */
    @Column(name = "user_id")
    private String userId;

    /**
     * 评价 人名称
     */
    @Column(name = "user_name")
    private String userName;

    /**
     * 删除标记
     */
    private String deleted;

    /**
     * 创建人
     */
    @Column(name = "created_id")
    private String createdId;

    /**
     * 创建时间
     */
    @Column(name = "created_date")
    @ColumnType(jdbcType=JdbcType.TIMESTAMP)
    private Date createdDate;
    /**
     * 部门
     */
    @Column(name = "user_dept")
    private String userDept;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getEvaCatCode() {
        return evaCatCode;
    }

    public void setEvaCatCode(String evaCatCode) {
        this.evaCatCode = evaCatCode;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDeleted() {
        return deleted;
    }

    public void setDeleted(String deleted) {
        this.deleted = deleted;
    }

    public String getCreatedId() {
        return createdId;
    }

    public void setCreatedId(String createdId) {
        this.createdId = createdId;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public String getUserDept() {
        return userDept;
    }

    public void setUserDept(String userDept) {
        this.userDept = userDept;
    }

}